# num = 0
# while True:
#     num+=1
#     if num==100:
#         break

#金字塔*号排序10次
# star = "*"
# n = 10
# for i  in range(n):
#
#     print(" "*(n-i-1)+star)
#     star = star+"**"

# star = "*"
# n = 10
# for i  in range(n):
#
#     print(" "*(n-i-1)+star)
#     star = star+"**"



#水仙花循环
"""
153= 1**3 +5**3 +3**3 = 水仙花
abcx = a**3 + b**3 + c**3 + x**3
1-10000 之间的数
"""
# for i in range(1,10001):
#     sum = 0
#     num_str = str(i)
#     for num in num_str:
#         sum = sum+int(num)**3
#     if i ==sum:
#         print(i,end=',')